Release 10.1A: OpenEdge Development:
Basic Development Tools


Usage

The following comments address Procedure Editor usage issues:

The scenario shown in Table 3–2 applies to the Procedure Editor.

Table 3–2: Usage scenario for the Procedure Editor 
Action
p_event
p_context
p_other
Comments
Creating, saving, and running the file
File New
NEW 
56788
?
Filename unknown.
File Save
BEFORE-SAVE 
56788
c:\9\window-1.w 
SAVE 
56788
c:\9\window-1.w 
Running the file
BEFORE-RUN 
56788
c:\9\window-1.w 
Run uses last filename.
RUN 
56788
c:\9\window-1.w 
File Save As
BEFORE-SAVE 
56788
c:\9\my-file.w 
Same context, new name.
SAVE 
56788
c:\9\my-file.w 
Closing the file with modifications
Procedure Editor prompts user to save changes
BEFORE-SAVE 
56788
c:\9\my-file.w 
Closing a file can cause the Procedure Editor to prompt the user to save a file.
SAVE 
56788
c:\9\my-file.w 
Procedure Editor closes the file
BEFORE-CLOSE 
56788
c:\9\my-file.w 
CLOSE 
56788
c:\9\my-file.w 
Opening the file
File Open
BEFORE-OPEN 
?
c:\9\my-file.w 
Occurs after the Open dialog box. Before-open can be cancelled.
OPEN 
46647
c:\9\my-file.w 
Observe the new context number.
Closing the file without modifications
File Close
BEFORE-CLOSE 
46647
c:\9\my-file.w 
CLOSE 


Copyright © 2005 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095